package com.example.demo.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;

public class Reincarnationlog {
    private Integer id;
    private Integer  aid;
    private Integer  uid;
    private String type;
    private String reason;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime create_time;
    private String  aname;
    private String uname;
    private String user_uuid;


    public Reincarnationlog() {
    }

    public Reincarnationlog(Integer id, Integer aid, Integer uid, String type, String reason, LocalDateTime create_time, String aname, String uname, String user_uuid) {
        this.id = id;
        this.aid = aid;
        this.uid = uid;
        this.type = type;
        this.reason = reason;
        this.create_time = create_time;
        this.aname = aname;
        this.uname = uname;
        this.user_uuid = user_uuid;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return aid
     */
    public Integer getAid() {
        return aid;
    }

    /**
     * 设置
     * @param aid
     */
    public void setAid(Integer aid) {
        this.aid = aid;
    }

    /**
     * 获取
     * @return uid
     */
    public Integer getUid() {
        return uid;
    }

    /**
     * 设置
     * @param uid
     */
    public void setUid(Integer uid) {
        this.uid = uid;
    }

    /**
     * 获取
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * 设置
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取
     * @return reason
     */
    public String getReason() {
        return reason;
    }

    /**
     * 设置
     * @param reason
     */
    public void setReason(String reason) {
        this.reason = reason;
    }

    /**
     * 获取
     * @return create_time
     */
    public LocalDateTime getCreate_time() {
        return create_time;
    }

    /**
     * 设置
     * @param create_time
     */
    public void setCreate_time(LocalDateTime create_time) {
        this.create_time = create_time;
    }

    /**
     * 获取
     * @return aname
     */
    public String getAname() {
        return aname;
    }

    /**
     * 设置
     * @param aname
     */
    public void setAname(String aname) {
        this.aname = aname;
    }

    /**
     * 获取
     * @return uname
     */
    public String getUname() {
        return uname;
    }

    /**
     * 设置
     * @param uname
     */
    public void setUname(String uname) {
        this.uname = uname;
    }

    /**
     * 获取
     * @return user_uuid
     */
    public String getUser_uuid() {
        return user_uuid;
    }

    /**
     * 设置
     * @param user_uuid
     */
    public void setUser_uuid(String user_uuid) {
        this.user_uuid = user_uuid;
    }

    public String toString() {
        return "Reincarnationlog{id = " + id + ", aid = " + aid + ", uid = " + uid + ", type = " + type + ", reason = " + reason + ", create_time = " + create_time + ", aname = " + aname + ", uname = " + uname + ", user_uuid = " + user_uuid + "}";
    }
}
